//
//  HandWorkCollectionViewCell.m
//  HandWork
//
//  Created by 王阳阳 on 16/2/27.
//  Copyright © 2016年 www.lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "HandWorkCollectionViewCell.h"

@implementation HandWorkCollectionViewCell

-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self creat];
    }
    return self;
}
- (void)creat
{
    self.bgimg = [[UIImageView alloc]init];
    self.bgimg.backgroundColor = [UIColor redColor];
    [self.contentView addSubview:self.bgimg];
    [_bgimg release];
    
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    self.bgimg.frame = self.contentView.frame;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
